# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html

import scrapy


class ReviewItem(scrapy.Item):
    movie_id = scrapy.Field()
    movie_name = scrapy.Field()
    movie_img = scrapy.Field()

    review_id = scrapy.Field()
    review_title = scrapy.Field()
    review_content_short = scrapy.Field()
    review_rate = scrapy.Field()
    review_time = scrapy.Field()

    topic = scrapy.Field()

    user_id = scrapy.Field()
    user_name = scrapy.Field()
    user_avatar = scrapy.Field()

    count_approved = scrapy.Field()  # 赞同数
    count_opposed = scrapy.Field()   # 反对数
    count_comment = scrapy.Field()   # 回应数（评论）


class WxGzhArticle(scrapy.Item):
    name = scrapy.Field()
    url = scrapy.Field()

    wechat_id = scrapy.Field()
    wechat_name = scrapy.Field()

    time = scrapy.Field()
    content = scrapy.Field()
